<template>
	<view class="content">
		<view class="my-fraction">
			<view class="my-left">
				<u--text type="primary" text="我的积分"></u--text>
				<u--text type="primary" text="99"></u--text>
			</view>
			<view class="my-right">
				<u-button class="custom-style" text="积分明细" plain color="gold" shape="circle"></u-button>
			</view>
		</view>
		<!-- 列表 -->
		<view class="list">
			<view class="list-item">
				<view class="list-item-row">
					<view class="item-left">
						<u-icon name="calendar" color="#fff" size="18"></u-icon>
						<view>
						<u--text text="发动态" bold size="18" class="item-title" color="gold"></u--text>
						<u--text text="发一篇动态,可以获得20积分" size="12"></u--text>
						<u--text text="每天5次,剩余5次" size="12"></u--text>
						</view>
					</view>
					<u-button color="red" text="去发布" class="item-btn" size="mini"></u-button>
				</view>
			</view>
			<view class="list-item">
				<view class="list-item-row">
					<view class="item-left">
						<u-icon name="file-text" color="#fff" size="18"></u-icon>
						<view>
						<u--text text="发布评论" bold size="18" class="item-title" color="gold"></u--text>
						<u--text text="评论一篇内容,可以获得5积分" size="12"></u--text>
						<u--text text="每天5次,剩余5次" size="12"></u--text>
						</view>
					</view>
					<u-button color="red" text="去评论" class="item-btn" size="mini"></u-button>
				</view>
			</view>
			<view class="list-item">
				<view class="list-item-row">
					<view class="item-left">
						<u-icon name="eye" color="#fff" size="18"></u-icon>
						<view>
						<u--text text="阅读" bold size="18" class="item-title" color="gold"></u--text>
						<u--text text="阅读一篇内容,可以获得5积分" size="12"></u--text>
						<u--text text="每天5次,剩余5次" size="12"></u--text>
						</view>
					</view>
					<u-button color="red" text="去阅读" class="item-btn" size="mini"></u-button>
				</view>
			</view>
			<view class="list-item">
				<view class="list-item-row">
					<view class="item-left">
						<u-icon name="moments" color="#fff" size="18"></u-icon>
						<view>
						<u--text text="分享内容" bold size="18" class="item-title" color="gold"></u--text>
						<u--text text="分享一篇内容,可以获得20积分" size="12"></u--text>
						<u--text text="每天10次,剩余10次" size="12"></u--text>
						</view>
					</view>
					<u-button color="red" text="去分享" class="item-btn" size="mini"></u-button>
				</view>
			</view>
		</view>
		<!-- end -->
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {
			
		},
		methods: {
			
		}
	}
</script>

<style>
	.my-fraction{
		display: flex;
		align-items: center;
		justify-content: space-between;
		background-color: #b5272e;
		padding: 30rpx;
	}
	.list{
		padding: 30rpx;
	}
	.list-item-row{
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
	}
	.item-left{
		display: flex;
		align-items: flex-start;
	}
	.list-item{
		background-color: #ffffff;
		border-radius: 10rpx;
		padding: 20rpx;
		margin-bottom: 20rpx;
		
		background-image: url('/static/banner/banner10.png');
		background-size:cover;
		background-repeat: no-repeat;
		background-position: center center;
	}
	.list-item:last-child{
		margin-bottom: 0;
	}
	.item-title{
		padding-bottom: 10rpx;
	}
	.tags-i:last-child{
		margin-right: 0;
	}
	.item-btn{
		width: 100rpx;
		margin: 0;
	}
</style>